<template>
  <section id="alert">
    <section class="content">
      <h5>预约信息</h5>
      <section class="info_item">
        <span>ID</span>
        <span class="input_name">
          <input type="text" value="" id="" placeholder="" />
        </span>
      </section>
      <section class="info_item">
        <span>姓名</span>
        <span class="input_name">
          <input type="text" value="" id="" placeholder="输入您的真实姓名" />
        </span>
      </section>
      <section class="info_item">
        <span>性别</span>
        <span class="input_name">
          <select name="" id="">
            <option value="">男</option>
            <option value="">女</option>
          </select>
        </span>
      </section>
      <section class="info_item">
        <span>手机</span>
        <span class="input_name">
          <input type="text" value="" id="" placeholder="输入您的手机号" />
        </span>
      </section>
      <section class="info_item">
        <span>地址</span>
        <span class="input_name">
          <input type="text" value="" id="city-picker" value="" placeholder="请选择您的地址" />
        </span>
      </section>
      <section class="info_item">
        <span>产品</span>
        <span class="input_name">
          <select name="" id="">
            <option value="">产品1</option>
            <option value="">产品2</option>
            <option value="">产品3</option>
            <option value="">产品4</option>
            <option value="">产品5</option>
            <option value="">产品6</option>
          </select>
        </span>
      </section>
      <section class="btn_group">
        <router-link to="/user">取消</router-link>
        <router-link to="/user">提交</router-link>
      </section>
    </section>
  </section>
</template>
<script>
export default {

  mounted(){
    $("#city-picker").cityPicker({
			title: "请输入您的地址:"
		});
  }
}
</script>

<style scoped>
#alert {
  width: 100%;
  height: 30rem;
  background: rgba(0, 0, 0, .6);
  padding-top: 20%;
  box-sizing: border-box;
}

.content {
  background: #FFF;
  width: 70%;
  min-height: 65%;
  max-height: 70%;
  margin: 0 auto;
  border-radius: .4rem;
  padding: 0 1rem;
  padding-top: .5rem;
  position: relative;
}

h5 {
  text-align: center;
  line-height: 1.5rem;
  color:#777;
}

#Edit {
  padding: .8rem;
  background: #f6f6f6;
  box-sizing: border-box;
}

.userInfo_body {
  margin-top: .5rem;
  box-sizing: border-box;
  background: #FFF;
  padding: 1rem;
  border-radius: .3rem;
  box-shadow: .2rem .2rem 1rem #ddd;
}

.info_item {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #D5D5D5;
  padding-top: .45rem;
  padding-bottom: .25rem;
}

.info_item>span:nth-child(1) {
  font-size: .7rem;
  display: block;
  flex: 2;
}

.info_item>span:nth-child(2) {
  display: block;
  flex: 5;
}

.info_item>span:nth-child(2)>input {
  height: 100%;
  width: 100%;
  border: none;
}

select {
  width: 100%;
  height: 100%;
  border: none;
}

::-webkit-input-placeholder {
  color: #ccc;
  font-size: .75rem;
  font-weight: 400;
}
.btn_group{
  width: 100%;
  height: 2rem;
  border-top: 1px solid #c4c4c4;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 .4rem .4rem;
  display: flex;
  flex-direction: row;
}
.btn_group a{
  flex: 1;
  text-align: center;
  line-height: 2rem;
}
.btn_group a:nth-child(1){
  border-right: 1px solid #c4c4c4;
}
</style>

